import { FetcherConfig } from 'amis-core/lib/factory'
import { fetcherResult } from 'amis-core/lib/types'

export declare interface Fetcher {
	fetch(fetcherConfig: FetcherConfig): Promise<fetcherResult>

	isCancel(value: any): void
}
